package org.aplikator.client.local.widgets;

import com.github.gwtbootstrap.client.ui.ControlGroup;
import com.github.gwtbootstrap.client.ui.ControlLabel;
import com.github.gwtbootstrap.client.ui.Controls;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Panel;


public abstract class ContainerFieldBase extends Composite {

    public interface ContainerFieldResources extends ClientBundle {
        public static final ContainerFieldResources INSTANCE = GWT.create(ContainerFieldResources.class);

        @Source("ContainerField.css")
        public ContainerFieldCss css();
    }

    public interface ContainerFieldCss extends CssResource {
        public String contentsHeader();

        public String contentsFrame();

        public String contentsHolder();
    }

    static {
        ContainerFieldResources.INSTANCE.css().ensureInjected();
    }

    protected ControlLabel label;
    protected Controls controls;
    protected ControlGroup wrapper;
    protected Panel dataPanel;

    protected ContainerFieldBase() {
        super();
    }

}
